package io;

import java.io.*;

public class FOSDemo {
    public static void main(String[] args) throws IOException {
//        File file=new File("BBBB.txt");
//        FileOutputStream fos=new FileOutputStream(file);
        FileOutputStream fos=new FileOutputStream("AAAAA.txt");
        fos.write(1);
        fos.write(44);
        fos.write(251);
        fos.write(-1);
        fos.write(256);
        fos.write(0);
        System.out.println("写出完毕");
        fos.close();



    }
}
